package library.and.xps.com.step.m.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by XPS on 2017/5/15.
 */

public class TeamsJoined extends BaseResponce {

    /**
     * error : null
     * obj : {"tname":"13测试","enterpriseid":0,"type":0,"mark":"861fd46c-ef36-44c5-9bbe-d078e58a5a01","creater":13,"role":0,"departmentid":0,"userid":0,"number":0,"teamid":87,"createnickname":"啊啊啊啊啊啊啊"}
     * list : [{"tname":"Forrtest\nForrest","enterpriseid":0,"type":0,"creater":0,"role":0,"departmentid":0,"userid":0,"number":0,"teamid":76},{"tname":"7测试","enterpriseid":0,"type":0,"creater":0,"role":0,"departmentid":0,"userid":0,"number":0,"teamid":77},{"tname":"7的测试2","enterpriseid":0,"type":0,"creater":0,"role":0,"departmentid":0,"userid":0,"number":0,"teamid":78},{"tname":"6的测试","enterpriseid":0,"type":0,"creater":0,"role":0,"departmentid":0,"userid":0,"number":0,"teamid":79}]
     */

    private ObjBean obj;
    private List<ListBean> list;

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ObjBean {
        /**
         * tname : 13测试
         * enterpriseid : 0
         * type : 0
         * mark : 861fd46c-ef36-44c5-9bbe-d078e58a5a01
         * creater : 13
         * role : 0
         * departmentid : 0
         * userid : 0
         * number : 0
         * teamid : 87
         * createnickname : 啊啊啊啊啊啊啊
         */

        private String tname;
        private int enterpriseid;
        private int type;
        private String mark;
        private int creater;
        private int role;
        private int departmentid;
        private int userid;
        private int number;
        private int teamid;
        private String createnickname;

        public String getTname() {
            return tname;
        }

        public void setTname(String tname) {
            this.tname = tname;
        }

        public int getEnterpriseid() {
            return enterpriseid;
        }

        public void setEnterpriseid(int enterpriseid) {
            this.enterpriseid = enterpriseid;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public int getCreater() {
            return creater;
        }

        public void setCreater(int creater) {
            this.creater = creater;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public int getDepartmentid() {
            return departmentid;
        }

        public void setDepartmentid(int departmentid) {
            this.departmentid = departmentid;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getTeamid() {
            return teamid;
        }

        public void setTeamid(int teamid) {
            this.teamid = teamid;
        }

        public String getCreatenickname() {
            return createnickname;
        }

        public void setCreatenickname(String createnickname) {
            this.createnickname = createnickname;
        }
    }

    public static class ListBean {
        /**
         * tname : Forrtest
         Forrest
         * enterpriseid : 0
         * type : 0
         * creater : 0
         * role : 0
         * departmentid : 0
         * userid : 0
         * number : 0
         * teamid : 76
         */

        private String tname;
        private int enterpriseid;
        private int type;
        private int creater;
        private int role;
        private int departmentid;
        private int userid;
        private int number;
        private int teamid;

        public String getTname() {
            return tname;
        }

        public void setTname(String tname) {
            this.tname = tname;
        }

        public int getEnterpriseid() {
            return enterpriseid;
        }

        public void setEnterpriseid(int enterpriseid) {
            this.enterpriseid = enterpriseid;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getCreater() {
            return creater;
        }

        public void setCreater(int creater) {
            this.creater = creater;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public int getDepartmentid() {
            return departmentid;
        }

        public void setDepartmentid(int departmentid) {
            this.departmentid = departmentid;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getTeamid() {
            return teamid;
        }

        public void setTeamid(int teamid) {
            this.teamid = teamid;
        }
    }
}
